package mytest;

public class Test3 {

	static double sqrt(int n)
	{
		double low=0,high=n+1e-9;
		while(low<high)
		{
			double mid=(low+high)/2;
			double mid2=mid*mid;
			
			System.out.println(mid+" "+ mid2);
			if(Math.abs(mid2-n)<1e-9)return mid;
			if(mid2<n)
			{
				low=mid;
			}else if(mid2>n)
			{
				high=mid;
			}
		}
		return -1;
	}
	
	
	public static void main(String[] args) {
		
		int[]a=null;
		System.out.println(a[1]+"abc");
		System.out.println(sqrt(9));
	}
}
